package com.joinway.framework.bean.exception;

import com.joinway.framework.bean.constant.ErrorCodeConstants;


public class SessionExpiredException extends ValidationException {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5601079844299317998L;

	public SessionExpiredException() {
		super(ErrorCodeConstants.SESSION_EXPIRED_DESC);
		this.code = ErrorCodeConstants.SESSION_EXPIRED;
		this.description = ErrorCodeConstants.SESSION_EXPIRED_DESC;		
	}
	
	public SessionExpiredException(String message) {
		super(message);
		this.code = ErrorCodeConstants.SESSION_EXPIRED;
		this.description = ErrorCodeConstants.SESSION_EXPIRED_DESC;
	}

}
